fixdep: Allow overriding HOSTCC and HOSTLD
authorBen Hutchings <benh@debian.org>
Sat, 13 May 2023 11:03:26 +0000 (13:03 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 31 Aug 2023 20:24:51 +0000 (21:24 +0100)
commit2d63be4d67d8fef4b98356070a31921d07b915ce
treedc5f0a3bef9bf26be3ac1492224515ff56fb74fb
parent36b5f8e10295b71f748198a768bd46cefdf34645
fixdep: Allow overriding HOSTCC and HOSTLD

Forwarded: not-needed

objtool always uses HOSTCC, HOSTLD, and HOSTAR, so we need to override
these on the command line for cross-builds of linux-kbuild.  But it
also builds fixdep which still needs to be native in a cross-build.
Add support for REALHOSTCC and REALHOSTLD variables which, if set,
override HOSTCC and HOSTLD for fixdep only.

Gbp-Pq: Topic debian
Gbp-Pq: Name fixdep-allow-overriding-hostcc-and-hostld.patch
tools/build/Makefile.include